package com.beifu.manager.model;

public class UserInfo {
    private Integer id;

    private String userName;

    private String loginName;

    private String loginPassword;

    private Integer roleId;

    private Integer organizeId;

    // 组织类型（为用户分配权限时，用户信息处展示）
    private String organizeName;

    //用户所属组织
    private Organizer organize;

    public Organizer getOrganize() {
        return organize;
    }

    public void setOrganize(Organizer organize) {
        this.organize = organize;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getOrganizeId() {
        return organizeId;
    }

    public void setOrganizeId(Integer organizeId) {
        this.organizeId = organizeId;
    }

    public String getOrganizeName() {
        return organizeName;
    }

    public void setOrganizeName(String organizeName) {
        this.organizeName = organizeName;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", loginName='" + loginName + '\'' +
                ", loginPassword='" + loginPassword + '\'' +
                ", roleId=" + roleId +
                ", organizeId=" + organizeId +
                ", organizeName='" + organizeName + '\'' +
                '}';
    }
}